<!DOCTYPE html>
<html lang="ch">
<head>
<meta charset="utf-8">
<title>刮刮卡</title>
<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
</head>
<body>
<div id="reward" style="display:inline-block; position:relative; ">
</div>
<script type="text/javascript" src="../js/wScratchPad.js"></script>

<script type="text/javascript">
            $("#reward").wScratchPad({
                color: '#999',//覆盖的刮刮层的颜色
                image: 'http://www.baidu.com/img/bdlogo.gif', //刮奖结果图片
				image2: 'http://cn.bing.com/th?id=OJ.hhcqaPAuQWj60w&pid=MSNJVFeeds', //覆盖结果图
                cursor: '',  //刮的笔刷图片
				width: '300',						// set width - best to match image width
				height: 200						// set height - best to match image height

            });
        </script>
</body>
</html>